import request from '../../utils/request'

// 创建数据库
export function createDatabase(query) {
  return request({
    url: '/source/add',
    method: 'get',
    params: query
  })
}

// 创建数据库
export function queryDatabase(query) {
  return request({
    url: '/source/query',
    method: 'get',
    params: query
  })
}
